package com.arron.juc;

public class ThreadLocalDemo {

    public static void main(String[] args) {

        ThreadLocal<Object> threadLocal =  ThreadLocal.withInitial(Object::new);
        Thread a = new Thread();
        threadLocal.set(new Object());
        Object o = threadLocal.get();


    }
}
